//
//  ProductCategoriesSelectCell.m
//  AFNetworking
//
//  Created by admin on 2020/5/6.
//

#import "ProductCategoriesSelectCell.h"

@implementation ProductCategoriesSelectCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configUI];
    }
    return self;
}
-(void)configUI{
    [self.contentView addSubview:self.remarkView];
    self.textLabel.font = FONT_SYS14;
    self.textLabel.textColor = COLOR_33;
}
-(UIView *)remarkView{
    if (!_remarkView) {
        _remarkView = [UIView new];
        _remarkView.backgroundColor = [UIColor ug_hexString:@"#007AFF"];
    }
    return _remarkView;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    [_remarkView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.width.mas_equalTo(2);
        make.height.mas_equalTo(KAutoAcale(16));
        make.left.mas_equalTo(self.contentView);
        make.centerY.mas_equalTo(self.contentView);
    }];
}
@end
